import service from '@/utils/request'

export const fetchUserInvitedInfo = (data: {device: string}) => {
    return service.post('/userAccount/findUserInvited', data)
}

type BindEmail = {
    device: string
    bindType: number,
    referrerEmail: string
}
export const bindInvierEmail = (data: BindEmail) => {
    return service.post('/userAccount/userInvitedBind', data)
}